// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import "amfe-flexible";
import Vue from 'vue'
import App from './App'
import router from './router'
import service from './service/_'
import utils from './utils/index'
import config from "./config/index";
import 'vant/lib/index.css';


//全局组件
config.vueComponents.forEach(v => Vue.component(v.name, v))
//其他
config.vuePlugs.forEach(v => Vue.use(v))

Vue.config.productionTip = false
Vue.prototype.$http = service;
Vue.prototype.$utils = utils;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
